package com.zhiwei.msf.app.service;

import org.eclipse.jgit.transport.CredentialsProvider;

/**
 * function 凭证服务
 * author zhiwei.yang
 * time 2020-3-4-10:59
 */
public interface GitCredentialService {

    /**
     * 创建 GIT 账户凭证
     *
     * @param username 用户名
     * @param password 密码
     * @return
     */
    CredentialsProvider createCredential(String username, String password);
}